package com.flrjcx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

@SpringBootApplication
@MapperScan(basePackages = "com.flrjcx.dao")
@ComponentScan(basePackages = { "com.flrjcx.*" })
@EnableTransactionManagement
@EnableSwagger2WebMvc
public class SpringBootMain2995 implements CommandLineRunner {
    public static void main(String[] args){
        SpringApplication.run(SpringBootMain2995.class, args);
    }
    @Override
    public void run(String... args){
        System.out.println("-------- Spring Boot Success --------");
    }
}
